using System;
using System.Text;
using System.Collections.Generic;


namespace Mengsk.ProxyDelivery.Domain
{

    public class Order
    {
        public virtual long Id { get; set; }
        public virtual int SellerId { get; set; }
        public virtual OrderCreateReason CreateReason { get; set; }
        public virtual OrderCreateType CreateType { get; set; }

        public virtual bool Empty { get; set; }

        public virtual PopType PopType { get; set; }
        public virtual int PopShopId { get; set; }
        public virtual string PopOrderId { get; set; }
        public virtual string PopBuyerId { get; set; }
        public virtual OrderPopPayType PopPayType { get; set; }
        public virtual bool SendMessage { get; set; }
        public virtual string ReceiverName { get; set; }
        public virtual string ReceiverPhone { get; set; }
        public virtual string ReceiverMobile { get; set; }
        public virtual string ReceiverAddress { get; set; }
        public virtual int DeliveryTemplateId { get; set; }
        public virtual string DeliveryCompany { get; set; }
        public virtual string DeliveryNumber { get; set; }
        public virtual float Weight { get; set; }
        public virtual long PayId { get; set; }
        public virtual long PayId2 { get; set; }
        public virtual float PopOrderMoney { get; set; }
        public virtual string PopCodNumber { get; set; }
        public virtual float TotalMoney { get; set; }
        public virtual float TotalOriginalMoney { get; set; }
        public virtual float TotalGoodsMoney { get; set; }
        public virtual float TotalServiceMoney { get; set; }
        public virtual float TotalGiftMoney { get; set; }
        public virtual float TotalDeliveryMoney { get; set; }
        public virtual float TotalMessageMoney { get; set; }
        public virtual float PayedGoodsMoney { get; set; }
        public virtual float PayedDeliveryMoney { get; set; }
        public virtual bool NeedMoreMoney { get; set; }

        public float DeliveryMoneyScale { get; set; }

        public float ServiceMoneyScale { get; set; }
        public virtual DateTime CreateTime { get; set; }
        public virtual DateTime PayTime { get; set; }
        public virtual DateTime PrintTime { get; set; }
        public virtual DateTime DeliveryTime { get; set; }
        public virtual DateTime SendMessageTime { get; set; }
        public virtual DateTime MarkPopDeliveryTime { get; set; }

        public virtual DateTime CloseTime { get; set; }

        public virtual string PrintOperator { get; set; }
        public virtual string DeliveryOperator { get; set; }

        public virtual string CloseOperator { get; set; }

        public virtual OrderErrorCode ErrorCode { get; set; }
        public virtual string SysComment { get; set; }
        public virtual string BuyerComment { get; set; }
        public virtual string SellerComment { get; set; }
        public virtual OrderState State { get; set; }


        public List<OrderGoods> OrderGoodss { get; set; }

        public List<OrderGift> OrderGifts { get; set; }
    }
}
